<!DOCTYPE html>
<html lang="en">
<head>
    {% load static %}
    <link rel="stylesheet" href="{% static 'myapp/style.css' %}">
    <meta charset="UTF-8">
    <title>INFO列表</title>
</head>
<body>
    <h1>INFO列表</h1>
    <table>
        <thead>
            <tr>
                <th>ID</th>
                <th>姓名</th>
                <th>密码</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            {% for data in data_list %}
                <tr>
                    <td>{{ data.id }}</td>
                    <td>{{ data.name }}</td>
                    <td>{{ data.password }}</td>
                    <td>{{ data.age }}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>

</body>
</html>